package org.jeecg.modules.hems.regionalmanagement.service;

import org.jeecg.common.exception.JeecgBootException;
import org.jeecg.modules.hems.regionalmanagement.entity.BsMapArea;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description: 区域管理
 * @Author: jeecg-boot
 * @Date:   2022-06-27
 * @Version: V1.0
 */
public interface IBsMapAreaService extends IService<BsMapArea> {
    /**根节点父ID的值*/
    public static final String ROOT_PID_VALUE = "0";

    /**树节点有子节点状态值*/
    public static final String HASCHILD = "1";

    /**树节点无子节点状态值*/
    public static final String NOCHILD = "0";

    /**新增节点*/
    void addBsMapArea(BsMapArea bsMapArea);

    /**修改节点*/
    void updateBsMapArea(BsMapArea bsMapArea) throws JeecgBootException;

    /**删除节点*/
    void deleteBsMapArea(String id) throws JeecgBootException;
}
